<template>
  <view style="background: #ffffff;padding: 20rpx">
    <u-parse :html="detail.content"></u-parse>
  </view>
</template>

<script>
export default {
  data() {
    return {
      detail: {}
    }
  },
  onLoad(option) {
    this.$api.policyDetail(option.id).then(res => {
      this.detail = res
      // 设置标题
      uni.setNavigationBarTitle({
        title: res.name
      })
    })
  },
  methods: {
  }
}
</script>

<style>

</style>
